﻿using DryIoc;

namespace KinonekoSoftware.Extensions.Ioc
{
    public static partial class Ioc
    {
        static Ioc()
        {
            Container = new Container(x => x.With(FactoryMethod.ConstructorWithResolvableArguments)
                                            .WithTrackingDisposableTransients());
        }

        public static IContainer Container { get; }
    }
}